package com.sy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sy.dto.EmployeeDTO;
import com.sy.dto.EmployeeLoginDTO;
import com.sy.dto.EmployeePageQueryDTO;
import com.sy.pojo.Employee;
import com.sy.result.PageResult;

public interface EmployeeService extends IService<Employee> {
    //登录
    Employee login(EmployeeLoginDTO employeeLoginDTO);
    //分页查询
    PageResult findAll(EmployeePageQueryDTO employeePageQueryDTO);
    //新增员工
    void saveEmp(EmployeeDTO employeeDTO);
}
